<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=Edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title>E-TOP在线文档管理系统</title>
        <link rel="stylesheet" href="<c:url value="/css/font-awesome.css"/>"/>
        <link rel="stylesheet" type="text/css" href="<c:url value="/css/all-page.css"/>"/>
        <link rel="stylesheet" type="text/css" href="<c:url value="/css/upload.css"/>" />
    </head>

    <body class="all-page upload-page 
          <c:if test="${not empty loginUser}">logined</c:if>
          <c:if test="${loginUser.role eq 2}">manage-logined</c:if>
              ">
              <!--顶部头像框-->
          <jsp:include page="/WEB-INF/inc/header.jsp"/>
          
          <div class="container">
              <div class="choose-file">
                  <button class="choose"><span class="fa fa-plus-square fa-fw"></span>选择文件</button>
                  <p class="tip">请选择你需要的文件</p>
                  <button class="edit"><span class="fa fa-pencil fa-fw"></span>批量编辑</button>
              </div>
              <div class="one-document">
                  <p class="upload-chos-finish"><span class="fa fa-share-alt-square fa-fw"></span>点击选择文件<span>与世界分享你的知识</span></p>
                  <form method="post" enctype="multipart/form-data">
                      <div class="style-form doc1">
                          <span class="cancel-upload fa fa-close fa-fw"></span>						
                          <div class="adjust-formin-center">
                              <input type="file" name="docu" accept="application/msword, application/pdf, application/vnd.ms-powerpoint, text/plain, application/vnd.ms-works, application/vnd.ms-excel"/>
                              <div class="doc-name_intro">
                                  <label class="for-doc-name">文档名:</label>
                                  <input type="text" class="upload-doc-name" name="name"/>文档名
                                  <label class="for-introduction">简介:</label>
                                  <textarea class="upload-introduction" placeholder="请写下你对本文档的简介" name="info"></textarea>
                              </div>
                              <div class="authority-assort">
                                  <div class="choose-button">
                                      <button class="public-button selected" type="button"><span class="fa fa-check fa-fw"></span>公开</button>
                                      <button class="private-button not-selected" type="button">私有</button>
                                  </div>
                                  <div class="assortment">
                                      <button class="assort-button" type="button">选择分类<span class="fa fa-angle-double-down fa-fw"></span></button>
                                      <div class="three-select">
                                          <select class="first-select" multiple="multiple" name="p1">
                                          </select>
                                          <select class="second-select" multiple="multiple" name="p2">
                                          </select>
                                          <select class="third-select" multiple="multiple"  name="p3">
                                          </select>
                                      </div>
                                  </div>
                              </div>
                          </div>
                      </div>
                      <div class="style-submit">
                          <p class="tip">总计<span>59KB</span></p>
                          <input type="submit" name="uploadFile" class="uploadFile" value="确认上传" />
                      </div>
                      <input class="radioArray" name="radioArray" type="hidden"/>
                  </form>
              </div>
              <!--以上 one-document-->
          </div>
          <!--以上 container-->
          <jsp:include page="/WEB-INF/inc/footer.jsp"/>
          <script src="<c:url value = "/js/jquery-1.11.2.js"/>"></script>
          <script src="<c:url value = "/js/home-page.js"/>"></script>
          <script src="<c:url value = "/js/upload.js"/>"></script>
          <script src="<c:url value = "/js/jquery.mCustomScrollbar.concat.min.js"/>"></script>
    </body>
</html>